import 'package:flutter/material.dart';

void main() {
  runApp(
      //   const Center(
      //   child: Text("hello flutter 你好!!!",
      //       textDirection: TextDirection.ltr, style: TextStyle(color: Colors.blue)),
      // )
      MaterialApp(
    home: Scaffold(
      appBar: AppBar(title: const Text("hello flutter")),
      body: const MyApp(),
    ),
  ));
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const Center(
      child: Text("hello flutter 你好!!!自定义",
          textDirection: TextDirection.ltr,
          style: TextStyle(color: Colors.red, fontSize: 30)),
    );
  }
}
